package com.xie.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xie.mapper.BedDao;
import com.xie.pojo.Bed;
import com.xie.pojo.Vo.RoomVo;
import com.xie.service.BedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service("bedService")
public class BedServiceImpl extends ServiceImpl<BedDao, Bed> implements BedService {
    @Autowired
    private BedDao bedDao;


    @Override
    public List<RoomVo> findRoomT() {
        return bedDao.findRoomT();
    }
}
